<div class="action-dialog-model-fixed-body">
   <div class="detaiTab  detaiTab1 detailsBox">
   
  <div class="detailsBox">
	 <div class="openBox">
	 <!-- 贷款要素 begin -->
	 <h3><i class="jtIco"></i>贷款要素
     </h3>
  	  <div class="action-ajax-load" data-url="/rback/l_i_common?loanapplyNo=${loanapply.loanapplyNo}"></div> 
  	  <!-- 贷款要素  end -->
     </div>
    </div>
		
	   <!-- 夫妻双方贷款记录  begin -->
		<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco1"></i>夫妻双方的贷款记录
		</h3>
		<div class="action-ajax-load-show"
		data-url="<@url value='/customerInfo/rest/loan_detail?customer_id_number=${loanUser.documentNo}&mate_id_number=${materEntity.documentNo}' />"
		data-ajax-wait-img="<@cdn value='img.wait'/>" style="display: none">
		</div>
		</div>
	<!-- 夫妻双方贷款记录  end -->
	<!-- 附件  begin -->
	<div class="openBox action-ajax-load" data-url="<@url value='/loanDetail/loadfile?parameter=${loanapply.loanapplyNo}'/>"></div>
      
	<!-- 附件  end -->  
	<form id = "advance_settle_form" action="/advanceSettleRest/saveAdvanceSettle"  class="action-ajax-form" data-action-html="#action_load_body" >
	 <input type="hidden" name="loanapplyNo" value="${loanapply.loanapplyNo}"/>
	 <input type="hidden" name="loanerName" value="${loanUser.userFullName}"/>
	 <input type="hidden" id="type" name="type" />
	 <div class="openBox">
		  		<h3><i class="jtIco"></i>提前还款</h3>
	 <table border="0" cellpadding="0" cellspacing="0" width="100%" >
	 
	    <tr>
	
	  	 <td class="bg" align="right" width="15%">付款人:</td>
	     <td > <input type="text" name="payName" value="${advanceSettleForm.payName}"/></td>
	   	 <td class="bg" align="right" width="15%">付款日期:</td>
	     <td colspan="3"> 
	     <@date value="${advanceSettleForm.payDate}" id="payDate" name="payDate"  data\-action\-valid\-rule="required;"  data\-action\-valid\-msg\-required="要求付款日期不能为空！"/>
	     </td>
	    </tr>
	 </table>
	  <table  border="0" cellpadding="0" cellspacing="0" width="100%">
	 <tr>
             <td class="bg"  width="15%"></td>
             <td ><input type="submit" value="保存" class="btn_auto_30 btn_blue" />
             <td ><input type="button" onclick="saveAndStart()" value="保存并启动流程" class="btn_auto_30 btn_blue" />
            </td>
         </tr>
	 </table>
	 </div>
	</form>
</div>
</div>
<script> 
 function saveAndStart(){
      $("#type").val("SAVEANDSTART");
		$("#backFee_form_old").action = "/advanceSettleRest/saveAdvanceSettle";		
		$("#advance_settle_form").submit();
	}
</script>